package com.zhen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@SpringBootApplication
@Controller
public class ZhenApplication {


    public static void main(String[] args) {
        SpringApplication.run(ZhenApplication.class, args);
    }


    @GetMapping({"/zhen", "/"})
    public String index(Model model) {

        return "index.html";
    }


}
